package com.appbee.defaultapp.client;

import com.appbee.cm.client.startup.CMStartupChain;
import com.appbee.defaultapp.client.gin.DefaultGinjector;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;

public class DefaultApp implements EntryPoint
{

	@Override
	public void onModuleLoad()
	{
		DefaultGinjector gin = GWT.create(DefaultGinjector.class);
		CMStartupChain startupChain = gin.getStartupChain();
		startupChain.chainAfterDataload(gin.getDefaultStartupLinkProvider());
		startupChain.start(RootPanel.get());

	}

}
